package com.easylinkin.linkappapi.meterbilling.entity.ext;

import com.easylinkin.linkappapi.meterbilling.entity.BaseBilling;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * class info :
 *
 * @author liuqihang
 * @date 2021/7/14 14:53
 */
@Data
public class RoomList {
    /**
     * 房间ID
     */
    private Integer roomId;
    private String roomCode;
    private String roomName;
    private BigDecimal waterBalance;
    private BigDecimal electricityBalance;

    /**
     * 住户合同ID
     */
    private Integer contractId;
    private String name;
    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date contractStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date contractEndTime;

    private List<BaseBilling> meterPriceList;

    private String areaId;
    private String areaPath;
    private String tenantId;

    /**
     * 导出使用
     */
    private List<Integer> roomIdList;
}
